package net.xuhf.es.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;

@Data
@Document(indexName = "city")
public class City {

    @Id
    private Integer id;
    private String name;
    private List<String> area;
}
